const service = require("../../utils/service").service

module.exports.collectList = (userid) => service({ url: '/medicine/api/collect/' + userid })
module.exports.printList = (userid) => service({ url: '/medicine/api/productHistory/' + userid })
module.exports.countNum = (userId) => service({url: "/medicine/order/count/" + userId})
module.exports.removeCollect = (id) => service({ url: "/medicine/api/collect/" + id, method: "delete" })
module.exports.removePrint = (id) => service({ url: "/medicine/api/productHistory/" + id, method: "delete" })